﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
	namespace="Buaya.Model" assembly="Buaya.Core">

	<class name="Company" table="company">
		<id name="Id">
		<generator class="native"/>
		</id>
		<property name="Name"/>
		<property name="Address"/>
		<property name="Country"/>
		<property name="Phone"/>
		<property name="Fax"/>
		<property name="Email"/>
		<property name="Website"/>
		<property name="LegalName"/>
		<component name="LegalAddress" class="Address">
			<property name="Street1"/>
			<property name="Street2"/>
			<property name="City"/>
			<property name="Zip"/>
		</component>
		<property name="State"/>
		<property name="LegalCountry"/>
		<property name="FiscalYear"/>
		<property name="TaxYear"/>
		<property name="EIN"/>
		<property name="SSN"/>
		<property name="PayrollContact"/>
		<property name="PayrollContactTitle"/>
		<property name="PayrollContactPhone"/>
		<property name="ShipToName"/>
		<property name="ShipToAddress"/>
	</class>

</hibernate-mapping>
